package uk.ac.aber.Blockmation;

import java.io.IOException;


/**
 * Class to set up an environment for a standalone animation viewer.
 * 
 * @author alex
 */

public class RunViewerStandAlone {
    
	
    public static void main(String[] args) throws IOException {
        
        // Create instance of MovieModel
        MovieModel movieModel = new MovieModel();
        
        // Create instance of ViewerStandAlone and pass through MovieModel
        ViewerStandAlone viewerDisplay = new ViewerStandAlone(movieModel);

        viewerDisplay.pack();
        viewerDisplay.setLocationRelativeTo(null);
        viewerDisplay.setVisible(true);
    }
    
}
